package com.shycloud.mido.music.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

/**
 * 兑换曲谱表
 */
@Data
@TableName(value = "mis_redeem_music_collection")
public class MisRedeemMusicCollection {

	@TableId(value = "id", type = IdType.AUTO)
	private Integer id;

	/** 有声图书编码 */
	@TableField(value = "book_number")
	private String bookNumber;

	/** 用户ID */
	@TableField(value = "member_id")
	private String memberId;

	/** 兑换的曲谱（曲集）id */
	@TableField(value = "collection_id")
	private String collectionId;

	/** 附件图片 */
	@TableField(value = "img")
	private String img;

	/** 创建时间 */
	@TableField(value = "create_time")
	private Date createTime;

	public static final String COL_ID = "id";

	public static final String COL_BOOK_NUMBER = "book_number";

	public static final String COL_MEMBER_ID = "member_id";

	public static final String COL_COLLECTION_ID = "collection_id";

	public static final String COL_CREATE_TIME = "create_time";

	public static final String COL_IMG = "img";

}